<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .box{
      width:200px;
      height:200px;
      background: red;
    }
  </style>
</head>
<body>
  <div id="app">
    <div class="box" v-text="content"></div>
    <div class="box">
      {{ content }}
    </div>
    <div v-html="content"></div>
    <hr>
    <button v-text=" 2>1?'真的大于2':'你在逗我吗' "></button>
    <button v-text=" parseInt('11ddw') "></button>
    <button v-text="fn()"></button>
  </div>
  <script src="./vue.js"></script>
  <script>
    const vm = new Vue({
      el:"#app",
      data:{
       content:"<h2>我是内容</h2>"
      },
      methods:{
        fn(){
          return '111'
        }
      }
    })
  </script>
</body>
</html>